A popular requirement among programmers is the need to change the case of text without re-typing. The Change Case dialog box provides 5 different options for changing the case of the currently selected text.
To |
Select |
Capitalize the first character of each sentence, converting the remaining characters to lowercase. |
Sentence Case |
Convert all characters to lowercase. |
Lowercase |
Convert all characters to uppercase. |
Uppercase |
Capitalize the first character of each word, converting the remaining characters to lowercase. |
Title Case |
Reverse the case of the selected characters. |
Toggle Case |
Note |
When using Sentence Case, if the selection does not include a period, the first character in the selection is capitalized. |
To change the case of text in the Code Editor
Select the text you wish to change the case of
From the Format menu, select Change Case
Select the case style to use
Click OK